/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.service;

import cc.altius.model.*;
import java.util.List;
import java.util.Map;

/**
 *
 * @author sagar
 */
public interface HospitalService {

    public int addHospital(Hospital hospital);

    public int updateHospital(Hospital hospital, int hospitalId);

    public List<Hospital> getHospitalList();
    
    public List< HealthSpringCenter> getCenterList();

    public List<Zone> getZoneList();

    public Hospital getHospitalById(int hospitalId);

    public Zone getZoneById(int zoneId);

    public Hospital getHospitalByHospitalName(String hospitalName);

    public boolean existHospitalByHospitalName(String hospitalName);

    public List<Map<String, Object>> getListOnZipCode(String zipCode);

    public List<Hospital> getHospitalByZoneId(int zoneId);

    public List<Map<String, Object>> getFilterHospital(int stateId, int cityId, int masterZoneId, int zoneId,int tieUpId);
    
    // FOR ZIPCODE AREA

    public int addZip(ZipCodeArea zipCodeArea);

    public ZipCodeArea getZipCodeById(int zipCodeId);

    public int updateZip(ZipCodeArea zipCodeArea, int zipCodeId);

    public List<ZipCodeArea> getzipCodeList();

    public ZipCodeArea getZipCodeByZipCode(String zipCode);

    public boolean existZipCodeByZipCode(String zipCode);
    
    //public List<ZipCodeArea> getzipCodeList(int zipCodeId);
    
    //AUTOCOMPLETE
    
    public List<Hospital> hospitalListForAutoComplete(String hospitalName);
    
    public List<Hospital> smsHospitalListForAutoComplete(String hospitalName);
}
